package com.chey.service.impl;

import com.chey.dao.OnreDao;
import com.chey.pojo.onre.MSG20;
import com.chey.service.OnreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author JanYao
 * @version 0.1
 */
@Service
public class OnreServiceImpl implements OnreService {

    @Autowired
    private OnreDao onreDao;
    @Override
    public Integer insert(MSG20 msg) {
        onreDao.add(msg.getMeta(),msg.getDFLT());
        return null;
    }
}
